<template>
  <div>
    <el-tooltip placement="left">
      <div slot="content">
        <img :style="`width:${BWidth}px;height:${BHeight}px`" :src="value" alt />
      </div>
      <img :style="`width:${sWidth}px;height:${sHeight}px`" :src="value" alt />
    </el-tooltip>
  </div>
</template>
<script>
// 表格里面的图片展示
 export default {
  props: {
    value: {
      type: String,
      required: true
    },
    sWidth: {
      type: Number,
      required: false,
      default: 40
    },
    sHeight: {
      type: Number,
      required: false,
      default: 40
    },
    BWidth: {
      type: Number,
      required: false,
      default: 300
    },
    BHeight: {
      type: Number,
      required: false,
      default: 300
    }
  }
}
</script>

<style lang="scss" scoped>
</style>